<!doctype html>
<html>
    <head>
	<link rel="icon" type="image/ico" href="<?=base_url();?>/favicon.ico" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width" />
    <title><?=isset($title)? $title: 'School System';?></title>
	<link rel="stylesheet" href="<?=style_url('normalize');?>">
	<link rel="stylesheet" href="<?=style_url('foundation.min');?>">
	<link rel="stylesheet" href="<?=style_url('bootstrap.min');?>">
	<link rel="stylesheet" href="<?=style_url('style');?>">
	<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css">
	<script type="text/javascript" src="<?php echo script_url('vendor/custom.modernizr');?>"></script>
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script>
    <script>window.jQuery || document.write('<script src="<?php echo script_url('vendor/jquery'); ?>"><\/script>')</script>
    </head>
	
    <body>
        <!-- message dialog box -->
        <!-- start contents -->
		<div class="panel full-width school-header hide-for-small">
			<div class="row">
				<div class="small-12 small-centered large-2 push-1 columns ">
					<img src="<?=school_logo();?>" alt="<?=$this->school_name;?> Logo">
				</div>
				<div class="small-12 large-10 push-1 columns">
					<h1 class="school_name"><?php echo $this->school_name?></h1>
					<p class="heading-details"><i class="fa fa-road"></i>&nbsp;<?php echo $this->school_address;?></p>
					<p class="heading-details"><i class="fa fa-phone"></i>&nbsp;<?php echo $this->school_telephone!==''?$this->school_telephone:'';?></p>
					<p class="heading-details"><i class="fa fa-envelope"></i>&nbsp;<?php echo $this->school_email!==''?$this->school_email:'';?></p>
				</div>
			</div>
		</div>
		<div class="panel full-width school-header show-for-small">
			<div class="row">
				<div class="small-12 columns" style="text-align:center;word-wrap:break-word;">
					<h1 class="school_name"><?php echo $this->school_name?></h1>
					<p><?php echo $this->school_address;?></p>
					<p><?php echo $this->school_telephone!==''?$this->school_telephone:'';?></p>
					<p><?php echo $this->school_email!==''?$this->school_email:'';?></p>
				</div>
			</div>
		</div>
		
		<div class="row content-views-bg">
			<noscript>
				<div class="error">Javascript has been disabled on your browser.some Functions may not work</div>
			</noscript>
			
			<?php echo $yield;?>
		</div>
		<footer class="footer hide-for-small">
			<div class="footer-contents center">
				<span class="btn btn-mini"> copyright &copy; <span class="complogo_name1">GoCloud</span><span class="complogo_name2">Asia</span> - 2013</span> 
				<span class="btn btn-mini benchmark">Time Exec: <?=isset($elapsed_time) ? $elapsed_time: '0.0';?></span> 
				<span class="btn btn-mini benchmark">Memory: <?=isset($memory_usage) ? $memory_usage : '0.0';?></span>
			</div>
		</footer>
		<!-- End contents -->
		<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script>
		<script>window.jQuery || document.write('<script src="<?php echo script_url('vendor/jquery'); ?>"><\/script>')</script>
		<script>
		  document.write('<script src=' +
		  ('__proto__' in {} ? '<?=script_url("vendor/zepto");?>' : '<?=script_url("vendor/jquery");?>') +
		  '><\/script>')
		</script>
		<script type="text/javascript" src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script>
		<script type="text/javascript" src="<?php echo script_url('foundation.min');?>"></script>
		<script type="text/javascript" src="<?php echo script_url('vendor/growl');?>"></script>
		<script type="text/javascript" src="<?php echo script_url('custom/menu'); ?>"></script>
		<script type="text/javascript" src="<?php echo script_url('custom/myjs'); ?>"></script>
		<script src="<?=script_url('foundation/foundation');?>"></script>
		<script src="<?=script_url('foundation/foundation.forms');?>"></script>
		<script src="<?=script_url('foundation/foundation.reveal');?>"></script>
		<script src="<?=script_url('foundation/foundation.section');?>"></script>
		<script src="<?=script_url('foundation/foundation.dropdown');?>"></script>
		<script src="<?=script_url('foundation/foundation.tooltips');?>"></script>
		<script src="<?=script_url('foundation/foundation.topbar');?>"></script>
		<script>
		  $(document).foundation();
		</script>
		<script type="text/javascript" src="<?php echo script_url('vendors/bootstrap.min'); ?>"></script>
		<div id="msgDialog"><p></p></div>
	</body>
</html>